<template>
	<view>
		<uv-navbar
			:leftIconColor="navstyle.txtColor"
			:titleStyle="titleStyle"
			:title="navstyle.title"
			:leftIcon="navstyle.leftIcon"
			:bgColor="navstyle.bgColor"
			:fixed="false" 
			@leftClick="leftClick"
			:safeAreaInsetTop="false">
		</uv-navbar>
		<view class="uni-list">
			<uni-load-more :status="status" :content-text="contentText" />
		</view>	
	</view>
	
</template>

<script>
	export default{
		data(){
			return{
				navstyle: {
					title: "提现记录",
					txtColor: "#333333",
					bgColor: "#FFFFFF",
					leftIcon: "arrow-left"
				},
				titleStyle: {
					fontWeight: 700
				},
				status:"more",
				contentText: {
					contentdown: '没有更多数据了',
					contentrefresh: '加载中',
					contentnomore: '没有更多'
				}
			}
		},
		methods:{
			leftClick() {
				uni.reLaunch({
				  url: '/pages/user/extract' 
				});
			},
		}
	}
	
</script>

<style>
	.uni-list{
	    background-color: #fff;
	    position: relative;
	    width: 100%;
	    display: flex;
	    flex-direction: column;
	}
	.uni-load-more{
	    display: flex;
	    flex-direction: row;
	    height: 40px;
	    align-items: center;
	    justify-content: center;
	}
</style>